home *** CD-ROM | disk | FTP | other *** search
/ Internet Warrior 1993 July / Internet Warrior No. 1 July 1993 - Austin Code Works.ISO / tcpip / cuttcp / cutcp.zoo / config.tel < prev    next >
Encoding:
Text File  |  1990-11-12  |  17.9 KB  |  442 lines

  1. #  Example host file for CUTCP/CUTE 2.2D and 2.2TN  REV -D
  2. #  11/12/90
  3. #
  4. #      Bugs to  cutcp-bugs@omnigate.clarkson.edu
  5.  
  6. #---------------------------------------------------------------------------#
  7. #                                        #
  8. #** ATTENTION ATTENTION ATTENTION ATTENTION ATTENTION ATTENTION ATTENTION **#
  9. #                                        #
  10. #   This sample config.tel file contains every single option that you could #
  11. #   possibly use. Its meant as an example only. Please Please PLEASE don't  #
  12. #   use all these options in your working config.tel file, just the ones    #
  13. #   that you actually need. Many options can be left out, the default action#
  14. #   (if defined) is shown in parens () next to the option.             #
  15. #                                        #
  16. #                         Thank you for your support                #
  17. #---------------------------------------------------------------------------#
  18.  
  19. #
  20. #  This example file is for my=bootp, in which case the following items are
  21. #  determined from the bootp server: (and are thus commented out in this file)
  22. #       1. This machine's IP Address
  23. #       2. The network NETMASK
  24. #       3. The default gateway (one or more)
  25. #       4. Nameservers (one or more)
  26. #       5. The domain search list (if this clients hostname is in the bootp packet)
  27. #
  28. #  Your BOOTP server needs to be RFC 1048 compliant for this to work
  29. #  
  30. #  If you have nameservers, gateways or a domainslist already specified
  31. #  in this file, then the file's entry takes precedence.
  32. #  Extra gateways and nameservers will be added by BOOTP if found, however.
  33. #----------------------------------------------------------------------------
  34. #  You can set a DOS environment variable  CONFIGTEL to point to this file
  35. #  then you don't need batch files or the -h option.
  36. #
  37. #       C> set CONFIGTEL=C:\net\myconfig.tel
  38. #
  39. #  You may also use environment variables to include config.tel options,
  40. #  such as:
  41. #    C> set $CUTCP1=myip~197.001.42.98;netmask~255.255.252.0
  42. #    C> set $CUTCP2=name~x;hostip~128.163.298.2
  43. #
  44. #  and so on up to $CUTCP99. Note that you use a tilde (~) instead of (=)
  45. #  in the dos set command because two ='s are not allowed by Dos.
  46. #
  47. #  Additionally, there is a new config.tel option called include= which
  48. #  allows the nesting (up to 3) configuration files deep.
  49. #
  50. #  A new command line option (-e) allows you to include configuration info
  51. #  on the command line.. like
  52. #
  53. #      telbin -e "myip=197.001.42.98;netmask=255.255.252.0" 
  54. #
  55. #  Your default config.tel file will be read first, then $CUTCPnn variables,
  56. #  and finally the -e option if you specify one.
  57. #
  58. #  You can use these new options on networks to make your configuration job
  59. #  easier. CUTCP always opens config.tel files as read-only, so you can mark
  60. #  your files as sharable, read only. Also, you can use the include= command
  61. #  in a $CUTCP environment variable, and on the command line.
  62.  
  63. #  *Note* that you can not include a machine specific parameter before
  64. #  name=default... This used to work in old versions, but is strictly
  65. #  enforced in this version.
  66. # --------------------------------------------------------------------------  
  67. #  This file is free form
  68. #  Separators are any char <33 and :;=
  69. #
  70. #  The form is keyword=value for each parameter.
  71. #  The first set of parameters refer to the whole program's defaults.
  72. #  These parameter values can be in any order.
  73. #  Following this are the individual machine specs.
  74. #
  75.  
  76. myip=bootp                      #  (bootp)
  77.                 #  myip types are:
  78.                                 #  bootp        - sends out a BOOTP request for your IP
  79.                                 #  rarp         - Uses reverse ARp to get your IP
  80.                                 #  xx.yy.zz.qq  - your IP address
  81.  
  82. vjc=no                # (no)
  83.                 # set  vjc=yes if you're running slip and
  84.                 # you want to use Van Jacobson TCP header
  85.                 # compression
  86.  
  87. splayc=no            # (no) ack. splay compression w/ vjc.. don't
  88.                 # use it, not standard, development option only
  89.  
  90. clock=24            # sets the onscreen clock (24)
  91.                 # possibilities are
  92.                 # clock=[none] | 12 | 24 [:timezone]
  93.                 # examples:
  94.                 # clock=none
  95.                 # clock=12        # 12 hour
  96.                 # clock=24        # also default if not specified
  97.                 # clock=12:EST5DST    # required for MSC version unless
  98.                 #              environmant var TZ= is defined
  99.                 # 
  100.  
  101. # Sounds. You can configure the four basic sounds that telnet makes
  102. # format is   sound=<which one>:duration,frequency:duration,frequency  etc
  103. # to produce no sound at all, use :0,0, to pause, use 0 for frequency.
  104. # units are sorta ticks for duration (but unfortunately its clock speed
  105. # dependent). Frequency units are in hertz. Frequency < 21 makes no sound
  106.  
  107. sound=bell:4,1200        # internal defaults shown in this file.
  108. sound=badkey:6,1500:6,700
  109. sound=ftp:6,600:6,0:6,2400
  110. sound=margin:17,2000
  111.  
  112. myname=userid            # put your userid here, used for Rlogin
  113.                 # PC-NFS version ignores this value and uses the name
  114.                 # that you specified to your pcnfsd.
  115.  
  116. netmask=255.255.252.0           #  needed if not using BOOTP. 
  117.                                 #  otherwise not needed because Bootp gets your netmask
  118.                 #  for you
  119.  
  120. hardware=packet            # (packet)
  121.                                 # harware choices
  122.                                 #  3com         - 3com 3c501
  123.                                 #  3c523        - 3com 3c523
  124.                                 #  wd800        - Western Digitial 800E
  125.                                 #  nicpc        - 
  126.                                 #  nicps        -
  127.                                 #  ni5210       - Micom Interlan NI5210 card
  128.                                 #  packet       - FTP packet Driver spec 
  129.                                 # (currently only Ethernet and Slip class devices are supported)
  130.  
  131. interrupt=2                     # hardware IRQ interrupt
  132. address=0                       # (0)
  133.                 # base memory address or packet driver class
  134.                                 # if using packet driver (0 == default == ethernet)
  135.                                 # or class=6 for slip
  136.  
  137. ioaddr=0                        # (0)
  138.                 # I/O address  or packet int vector if using packet driver
  139.                                 # If = 0 and packet driver, telbin looks for first
  140.                                 # packet driver found between 60H and 7FH
  141.  
  142. noarpme=yes            # Don't arp for myself before running? (no)
  143.                 # if yes, inhibits the initial arp request
  144.                 # for this IP address. However, if yes, won't
  145.                 # warn you if another user is using this IP
  146.                 # address. For some token ring systems, you'll
  147.                 # need noarpme=yes.
  148.  
  149. video=auto                      # video choices  (auto)
  150.                                 #  auto         - automatically determines video type
  151.                                 #  cga
  152.                                 #  ega
  153.                 #  vga
  154.                                 #  hercules
  155.                                 #  pga
  156.                                 #  no9
  157.  
  158. visbell=yes            # visual bell on?  (no)
  159.                 # visual bell reverse entire screen for bells
  160.                 # in the current session, or reverses just the
  161.                 # status line for bells in other sessions
  162.  
  163. bios=no                         # Send text to screen memory or use bios (no)  
  164.                 # choices
  165.                 # Yes   -> uses bios
  166.                 # no    -> goes direct to screen
  167.                 # maybe -> uses bios for the current screen, but
  168.                 #    uses direct video for screen swaps, etc.
  169.                 #    meant for use by screen readers for the
  170.                 #    visually impaired.
  171.                                 # If you have a snowy CGA, use bios=yes
  172.  
  173. tek=yes                         # (yes)
  174.                 # yes to enable Tektronix emulation, 
  175.                 # otherwise No
  176.  
  177. ftp=yes                         # (yes)
  178.                 # yes to allow incoming FTP sessions, no otherwise
  179.  
  180. rcp=no                          # (no)
  181.                 # Remote Copy, yes if you want to allow it
  182.                                 # otherwise No.
  183.  
  184. passfile="nul"             # ("nul")
  185.                 # name of file to find FTP passwords in
  186.                                 # if passfile="nul" you can only ftp into
  187.                                 # your machine if you use the internal FTP
  188.                                 # password, generated by pressing ALT-W
  189.                                 # if passfile points to a file that does not
  190.                                 # exist, you will not be able to ftp in to 
  191.                                 # your PC at all, even ALT-W will NOT work.
  192.                 # if you don't specify passfile at all in this
  193.                 # file, then anyone can ftp to your machine
  194.                 # without a password (not recommended).
  195.  
  196. include="nul"            # if you want to include another file as part
  197.                 # of this one (you can nest up to three includes)
  198.                 # otherwise, don't use this option
  199.  
  200. capfile="capfile.out,b"        # default name for capture file
  201.                 # optional binary or text mode (default is text)
  202.                 # ie: capfile="freddy.txt,t" for text mode
  203.                 # or capfile="mrbinary.bin,b" for binary
  204.                 # text mode causes an automatic append of
  205.                 # <CR> after <NL>, otherwise binary mode does
  206.                 # not do this.
  207.         
  208. hpfile=hp.out            # file to write HPGL to, 
  209.                 #    COM1 can be used for attached plotter
  210. psfile=ps.out            # file to write postscript to
  211. tekfile=tek.out              # file to write Tek codes to
  212.  
  213. domaintime=4            # domain name lookup timeout (first retry)
  214. domainretry=4            # domain name max number of retries 
  215. domainslist="clarkson.edu,aux.clarkson.edu" # domain name search path
  216.                                 # domain name lookup will attach each of these
  217.                                 # comma seperated suffixes to
  218.                                 # the end of the name you are looking for to
  219.                                 # discover the full name and IP address.
  220.                                 # so, looking for x tries x.clarkson.edu and x.aux.clarkson.edu then just x
  221.                                 # unless you use  x.  which ONLY looks for x
  222.  
  223.     ## Also, the fewer suffixes in the domainslist
  224.     ## the less time you will have to wait if you mis-type an entry.
  225.     ## Finally, try not to use a suffix like   .  or .edu or .com this will
  226.     ## waste a lot of time looking for a bogus host name if you mis-type an entry.
  227.  
  228. ### Entries for tn3270 use ###
  229. #map3270="c:\cutcp\map3270.tbl"       # you don't need this for version 2.2D
  230.                                 # and if don't want to change the default
  231.                                 # TN3270 keymaps then you don't need it either
  232.                                 # however, if you do want to change the
  233.                                 # default 3270 keymaps, create a key map file
  234.                 # (see tn3270.tbl) for defaults, and point
  235.                 # this parm to the file.
  236.  
  237.                 # NOTE: The format for the map3270 file has
  238.                 # changed between versions TC-A and TC-B
  239.  
  240. tnmode=auto                     # tn3270 connection mode (auto)
  241.                                 # choices are
  242.                                 # auto - (default)
  243.                                 # flagged, notflagged, off
  244.                                 # see the manual (best to just use auto)
  245.                 # also see machine specific flags variable
  246.  
  247. ## ----------------------------------------------------------------- ##
  248. ##   BEGIN MACHINE SPECIFIC PARAMETERS...                 ##
  249. ## ----------------------------------------------------------------- ##
  250.  
  251. name=default            # default entry sets defaults for all following
  252.                 # machines.
  253.  
  254. vtmargin=yes            # margin bell on?  (no)
  255.                 # chirps the bell at column 72
  256.  
  257. erase=delete                    # (delete)
  258.                 # use delete code or backspace code for <- key?
  259.                 # legal values are "delete" and "backspace"
  260.  
  261. clearsave=yes                   # save visible lines in scrollback when
  262.                                 #    clearing screen
  263. scrollback=50            # number of lines of scrollback per session
  264.                 # you can use less memory if you set this value
  265.                 # small.
  266.  
  267.                                 # following are screen colors in a session
  268.                                 # you can also place them after a host declaration
  269.                                 # below, to set the color on a host by host basis
  270.                                 # a foreground color that is capitalized
  271.                                 # sets the bold bit, if a background color
  272.                                 # is capitalized it sets the blink bit.
  273.  
  274. nfcolor=white                   # normal foreground color
  275. nbcolor=blue                    # normal background color
  276. rfcolor=YELLOW                  # reverse foreground color
  277. rbcolor=blue                    # reverse background color
  278. ufcolor=red                     # underline foreground color
  279. ubcolor=blue                    # underline background color
  280.                  # possible colors are:
  281.                 # black,green,blue,magenta,cyan, red,yellow,white
  282.                 # and (case signifigant)
  283.                 # BLACK, GREEN,BLUE,MAGENTA,CYAN, RED,YELLOW,WHITE
  284.  
  285. arptime=10            # arp timeout in seconds
  286.                 #
  287.  
  288. retrans=1                       # starting retransmit time out in ticks
  289.                 #   1/18ths of sec MAX 100, min 1
  290.  
  291. mtu=1024                        # maximum transmit unit in bytes
  292.                 #   outgoing packet size, MAX=1500
  293.  
  294. maxseg=1024            # largest segment we can receive
  295.                 #   whatever the hardware can take, MAX=4096
  296. rwin=2048                       # most bytes we can receive without ACK
  297.                 #   =TCP window size, MAX=4096
  298.  
  299. contime=20                      # timeout in seconds to try connection
  300.                 #   before returning error to user
  301.  
  302. flags=0                # OR the following values for override
  303.                 # flags.. be careful. Flags are not
  304.                 # copied from default, you must explicitly
  305.                 # declare the flag values for each machine
  306.                 # if desired. Flag values are in hex.!
  307.                 #
  308.                 # 8  - send transparent data to capture file
  309.                 #      instead of tek screen
  310.                 # 10 - always go into 3270 mode regardless of
  311.                 #      tnmode
  312.                 # 18 - do both of the above
  313.                 # 400 - don't do binary mode when asked
  314.                 # ie: flags=408 means, no binary and send trans
  315.                 # data to capture file instead of tek screen.
  316.                 # NOTE: DO NOT USE ANY OTHER VALUES THAN THOSE
  317.                 # SHOWN ABOVE!
  318.  
  319. keymap="keymap.tbl"        # Point this value to your personal keymap file
  320.                 # for VT100 mode (if desired). See (default.tbl)
  321.                 # for an example of the built in keymaps.
  322.                 # any key pressed follows the following precidents
  323.                 #    1. Check keymap entry for this machine.
  324.                 #    2. Else check keymap entry for name=default
  325.                 #    3. Finally, use built in table.
  326.  
  327.                 # for 3270 mode, map3270= points to the default
  328.                 # 3270 table (if desired) for use in step 2 above.
  329.  
  330. #  Following are individual machine specifications
  331. #  Gateways are used in order that they appear in the file
  332. #  Nameservers rotate, #1, #2, #3, #1, #2 when a request fails
  333. #
  334.  
  335. # ********************************************************************* ###
  336. # Note: If you are using BOOTP above for myip=, then you do not need
  337. #       to enter a default gateway, nameserver, netmask etc (unless you want to)
  338. #       only IF your BOOTP server is rfc_1048 compliant. (Ask your Net Manager)
  339. #       You can use both bootp and entries here, in which case the entries in
  340. #       this file over-ride what BOOTP discovers. (however, bootp nameservers
  341. #       and gateways are ADDED to this file's list of entries
  342. # ********************************************************************* ####
  343.  
  344. #name=omnigate            #   Not a real machine, default parameters only
  345. #host=omnigate.clarkson.edu    # Actual host name of machine, not session name
  346. #hostip=197.001.4.2        # IP address of host, example is for SRI-NIC
  347. #nameserver=1            # This machine has a DOMAIN name server for me
  348. #gateway=1            # This machine is a gateway for me
  349. #crmap=4.3BSDCRNUL        # map of the CR key for compatibility
  350. #duplex=half            # modifier for non-echo mode, forces send
  351.                 #   larger isn't always better
  352.  
  353. #  Below this line, most of the communication parameters are obtained
  354. #  from the "default" host entry.  Those parameters listed for a host 
  355. #  override the default host values.
  356. #
  357. #  These are examples, replace them with the correct values for your site.
  358. #name=mynameserver
  359. #host=omnigate.clarkson.edu
  360. #hostip=197.001.4.2
  361. #nameserver=1
  362.  
  363. #name=backupserver
  364. #host=clutx.clarkson.edu
  365. #hostip=197.001.4.3
  366. #nameserver=2
  367.  
  368. #name=lastserver
  369. #host=n2ngw.nyser.net
  370. #hostip=128.145.198.2
  371. #nameserver=3
  372.  
  373. #name=mygateway
  374. #host=nysernet.clarkson.edu
  375. #hostip=197.001.4.1
  376. #gateway=1
  377.  
  378. #  Sample MVS SYSTEM  (MVS systems don't negotiate term type correctly)
  379. #name=mvs
  380. #hostname=mvs.mvs.com
  381. #hostip=xx.yy.zz.dd
  382. #flags=10            # always use 3270 mode regardless of tnmode
  383.  
  384. # You can now specify the destination port in the config.tel file
  385. #name=chargen            # opens a connection to chargen
  386. #host="mychargen.host.edu:19"    # notice ':portnum' in name!!
  387.  
  388.  
  389. # built in throughput measurement window...
  390. # you can change a window to a throughput measurement screen which
  391. # reports KB/sec. Best if used w/ ttcp, but you can use it w/ chargen.
  392. # (ttcp pumps out faster)
  393. # You can either open a connection, then use ALT-P and change the
  394. # terminal type to 'throughput', or set vtwrap=t as shown below
  395.  
  396. #name=throughput
  397. #host="mychargen.host.edu:19"    # automatically open a port to chargen
  398. #vtwrap=t            # vtwrap is either
  399.                 #  =Y        # yes, do VTwrap
  400.                 #  =N        # nope, don't do it (default)
  401.                 #  =T        # do throughput measurement
  402.  
  403.  
  404. # rlogin mode....
  405. # You can specify a host name that is always to use rlogin (even when
  406. # using ALT-A, by using port 513
  407.  
  408. name=myrlogin
  409. hostip=197.001.4.2
  410. host="myrlogin.com:513"
  411.  
  412.  
  413. # keymaps..
  414. name=mykeymap
  415. hostip=197.001.4.5
  416. keymap="C:\cutcp\mykeymap.tbl"
  417.  
  418. # no binary mode example
  419. name=myterminalserver
  420. hostip=128.134.27.2
  421. flags=400
  422.  
  423.  
  424. name=script_dir
  425. host="C:\scripts\"        # here's how you specify a script directory
  426.  
  427. name=test
  428. host="@sample2.scr"        # here's how you attach a script to a name.
  429.  
  430. # ----- LPR utilities Information ----- #
  431. #
  432. name=lpr_printer
  433. host="erc-laser"        #  here's how you specify the default
  434.                 #  printer name for the lpr utilities
  435.  
  436. name=lpr_server
  437. host=omnigate            # here's how you specify the default 
  438.                 # server for the lpr utilities.
  439.  
  440.  
  441.